<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	{hd include file="../Common/header.html"}
	
	<link rel="stylesheet" href="{hd $smarty.const.__PUBLIC__}/Css/question.css" />
	<script type="text/javascript" src="{hd $smarty.const.__PUBLIC__}/Js/question.js"></script>
</head>
<body>
	
	<div id='location'>
		<a href="">全部分类</a>
		 {hd section loop=$fuCate name=f}
		    {hd if $smarty.section.f.last}
			&gt;&nbsp;{hd $fuCate[f].title}&nbsp;&nbsp;
			{hd else}
			&gt;&nbsp;<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $fuCate[f].cid}">{hd $fuCate[f].title}</a>&nbsp;&nbsp;
			{hd /if}
		 {hd /section}
	</div>

<!--------------------中部-------------------->
	<div id='center-wrap'>
		<div id='center'>
			<div id='left'>
				<div id='answer-info'>
					<!-- 如果没有解决用wait -->
					<div class='ans-state wait'></div>
					<div class='answer'>
						{hd foreach from=$askCate item=v}
						<p class='ans-title'>{hd $v.content}
							<b class='point'>{hd $v.reward}</b>
						</p>
					</div>
					<ul>
						<li><a href="">{hd $v.username}</a></li>
						<li><i class='level lv1' title='Level 1'></i></li>
						<li>{hd $v.time}</li>
				        {hd /foreach}
					</ul>
					<div class='ianswer'>
						<form action="" method='POST'>
							<p>我来回答</p>
							<textarea name="content"></textarea>
							<input type="hidden" name='qid' value=''>
							<input type="submit" value='提交回答' id='anw-sub'/>
						</form>
					</div>
					<!-- 满意回答 -->
					<div class='ans-right'>
						<p class='title'><i></i>满意回答<span></span></p>
						
						<p class='ans-cons'>很不错！</p>
						
						<dl>
							<dt>
								<a href=""><img src="{hd $smarty.const.__PUBLIC__}/Images/noface.gif" width='48' height='48'/></a>
							</dt>
							<dd>
								<a href="">用户</a>
							</dd>
							<dd><i class='level lv1'></i></dd>
							<dd>20%</dd>
						</dl>
					</div>
					<!-- 满意回答 -->
				</div>

				<div id='all-answer'>
					<div class='ans-icon'></div>
					<p class='title'>共 <strong>{hd $anNum.0.anNum}</strong> 条回答</p>
					<ul>
						{hd foreach from=$anData item=v}
						<li>
							<div class='face'>
								<a href="">
									<img src="{hd $smarty.const.__PUBLIC__}/Images/noface.gif" width='48' height='48'/>
								</a>
							</div>
							<div class='cons blue'>
								<p>{hd $v.content}！<span style='color:#888;font-size:12px'>&nbsp;&nbsp;({hd $v.time})</span></p>
							</div>
							
								<a href="{hd $smarty.const.__APP__}?c=Ask&a=accept&asid={hd $v.asid}&anid={hd $v.anid}" class='adopt-btn'>采纳</a>
							
						</li>
                        {hd /foreach}
						
					</ul>
					<div class='page'>
						<a href="">1</a>
						<a href="">2</a>
						<a href="">3</a>
						<a href="">4</a>
					</div>
				</div>
				<div id='other-ask'>
					<p class='title'>待解决的相关问题</p>
					<table>
						{hd foreach from=$xgCate item=v}
						<tr>
							<td class='t1'><a href="{hd $smarty.const.__APP__}?c=Ask&a=show&asid={hd $v.asid}&cid={hd $v.cid}">{hd $v.content}</a></td>
							<td>{hd $v.answer}&nbsp;回答</td>
							<td>{hd $v.time}</td>
						</tr>
						{hd /foreach}
					</table>
				</div>
			</div>
		<!-- 右侧 -->
		{hd include file="../Common/right.html"}
			
		</div>

	</div>
	
<!--------------------中部结束-------------------->

{hd include file="../Common/footer.html"}
</body>
</html>
<!-- 底部结束 -->